package cn.com.git.example.module.dao.mapper;

import cn.com.git.example.module.dao.model.Demo;
import cn.com.git.example.module.service.query.DemoListQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DemoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Demo record);

    int insertSelective(Demo record);

    Demo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Demo record);

    int updateByPrimaryKey(Demo record);

    List<Demo> selectListByQuery(@Param("query") DemoListQuery query);
}